package com.ych.modules.base.dbEntity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * Author: Usopp.tsui
 * Date: 2021/2/27
 * Time: 15:19
 * Description:
 */
@Data
@TableName("t_item_concern")
@ApiModel(value = "TItemConcernEntity", description = "数据库-项目关注表")
public class TItemConcernEntity extends AbstractPageEntity {
    @TableId(value = "id")
    @ApiModelProperty(value = "主键", dataType = "String", notes = "主键")
    private String id;

    @TableField("item_id")
    @ApiModelProperty(value = "项目id", dataType = "String", notes = "项目id")
    private String itemId;

    @TableField("user_id")
    @ApiModelProperty(value = "用户id", dataType = "String", notes = "用户id")
    private String userId;

    @TableField("create_time")
    @ApiModelProperty(value = "创建时间", dataType = "String", notes = "创建时间")
    private Date createTime;
}
